<% if Venta.get_mod_venta(@current_user,com) %>

	<% if com.producto_id.to_i != 0 %>
	
  <td style="text-align: center;"><%= link_to image_tag("delete-16x16.png", :border=>0, :title=>'Desasignar Trainee de la Venta'), 
																				borrar_trainee_inexchange_path (com) %>																					

  <% else %>
  
  <td style="text-align: center;"><%= link_to image_tag("add-16x16.png", :border=>0, :title=>'Asignar Trainee a la Venta'), 
																				edit_inexchange_path (com) %>																				

  
  <% end %>
  
<% end %>
  
  
